//
//  GetCollectionMediasOperation.h
//  Vmix
//
//  Created by jeffs on 6/16/2010.
//  Copyright 2010 Vmix Media, INC. All rights reserved.
//

#import <Foundation/Foundation.h>

@class VmixVideo;

@protocol GetCollectionMediasOperationDelegate;

@interface GetCollectionMediasOperation : NSOperation {
	
	id <GetCollectionMediasOperationDelegate> delegate;
	NSMutableArray * mediaArray;
	NSMutableData *mediaData;
	NSString *collectionMediasApi;
	
}

@property(nonatomic, retain) id <GetCollectionMediasOperationDelegate> delegate;
@property(nonatomic, retain) NSMutableArray * mediaArray;
@property(nonatomic, retain) NSMutableData *mediaData;
@property(nonatomic, retain) NSString *collectionMediasApi;

@end

//Define protocol to communicate with object delegate after operation runs.
@protocol GetCollectionMediasOperationDelegate
- (void)didFinishParsingCollectionMedias:(NSMutableArray *) mediaArray;
@end